Separate User Address Spaces for DXE drivers.#75
Open
MikhailKrichanov wants to merge 341 commits intomasterfrom
Open
Separate User Address Spaces for DXE drivers.#75MikhailKrichanov wants to merge 341 commits intomasterfrom
MikhailKrichanov wants to merge 341 commits intomasterfrom
Conversation
…dk2-stable202405 tag.
…file is also specified
…dk2-stable202502 tag.
to fix Windows 10 boot.
Into this routine the caller passes different data structures with different alignment that is why casting bulk pointer to UINT16 violates strict aliasing rule.
Currently DxeCore and PeiCore rely on type cast violation too heavily.
Using GCC 13.3.0 discovers an out of bounds memory access in VfrCompile when building DriverSampleDxe. This is also discoverable with ASan. The issue here is that EFI_IFR_TYPE_VALUE is a flexible type and when passed by value for string types only the header part is accessible. Assuming the remainder is zero seems to be ok as gZeroEfiIfrTypeValue is used as a variable source. This change also fixes a warning for new[]/delete[] mismatch discovered by ASan. Signed-off-by: Vitaly Cheptsov <vit9696@protonmail.com>
|
This PR has been automatically marked as stale because it has not had activity in 60 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
|
This pull request has been automatically been closed because it did not have any activity in 60 days and no follow up within 7 days after being marked stale. Thank you for your contributions. |
added 25 commits
October 6, 2025 12:18
CoreSimpleFileSystemOpenVolume.
used CS saved on stack instead of DS for CPL extraction.
through User stack for ARM, AARCH64.
for DEBUG printings.
43b9fe7 to
845c828
Compare
added 2 commits
October 6, 2025 18:43
when UserSpace feature is disabled.
3d47654 to
25f2ca4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.